


//
//  BookDetailHeadView.m
//  ZQLearn
//
//  Created by macfeel on 2019/5/2.
//  Copyright © 2019 macfeel. All rights reserved.
//

#import "BookDetailHeadView.h"

@implementation BookDetailHeadView

-(void)awakeFromNib{
    
    [super awakeFromNib];
    
   
    self.twoyuanGouBtn.layer.cornerRadius = 5.f;
    self.twoyuanGouBtn.layer.masksToBounds = YES;
    self.twoyuanGouBtn.backgroundColor = kSystemtBlue;self.readBtn.layer.cornerRadius = 5.f;
    self.readBtn.layer.masksToBounds = YES;
    self.readBtn.backgroundColor = kSystemtBlue;
    
    UIView *line = [[UIView alloc]initWithFrame:CGRectMake(10, 300, ScreenWidth-20, 0.5)];
    line.backgroundColor = kLightGrayColor;
    [self addSubview:line];
//    self.backgroundColor = kMagentaColor;
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
